package com.xqls.dal.dao;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.UserRoleExample;
import com.xqls.dal.model.UserRoleKey;

public interface UserRoleDao {
    boolean insertDate(UserRoleKey record);
    
    boolean updateData(UserRoleKey record ,UserRoleExample example);
    
    boolean deleteData(UserRoleKey userRoleKey);
    
    boolean deleteDataByExample(UserRoleExample example);
    
    List<UserRoleKey> getListByExample(UserRoleExample example);
    
    UserRoleKey getLastRecord();
    
    List<Map<String,Object>> getListByMap(Map<String,Object> map);
}
